package com.earthea.chatbot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * 启动程序
 */
@MapperScan({"com.earthea.chatbot.mapper"})
@ImportResource("classpath*:spring/*.xml")
@SpringBootApplication(scanBasePackages = {"com.earthea.chatbot"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  程序启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
